package com.zygh.dlqwservice.module.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.postgis.Point;

/**
 * <p>
 * 
 * </p>
 *
 * @author lee
 * @since 2020-12-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Sign对象", description="")
public class Sign implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "签到表")
    @TableId(value = "sign_id", type = IdType.AUTO)
    private Integer signId;

    @ApiModelProperty(value = "签到岗位名")
    private String assignmentname;

    @ApiModelProperty(value = "人员部门id")
    private String sectionid;

    @ApiModelProperty(value = "签到时间")
    private String signintime;

    @ApiModelProperty(value = "签退时间")
    private String signouttime;

    @ApiModelProperty(value = "警号")
    private String policeId;

    @ApiModelProperty(value = "任务id", example = "1")
    private Integer assignmentid;

    @ApiModelProperty(value = "状态 1-签到   2-签退", example = "1")
    private Integer state;

    @ApiModelProperty(value = "1-迟到 2-早退 3-缺勤")
    private String clock;

    @ApiModelProperty(value = "签到gps坐标")
    @JsonIgnore
    private Point gps;

    @ApiModelProperty(value = "签退坐标")
    @JsonIgnore
    private Point gpsqt;

    @ApiModelProperty(value = "岗位名称")
    private String jobName;
    @ApiModelProperty("签到id")
    private String qdid;
    @ApiModelProperty(value = "班次")
    private String shiftop;
    @ApiModelProperty(value = "早退")
    private String signOutClock;
}

